{config_load file="main.txt" section=search}
{config_load file="inserat.txt" section=inserat}

<div id="contentFull">
    <h2>{#snach#} "{$smarty.get.search|default:'n/a'}" 
        {if $breadcrumbs|@count > 2}
            {#in#} 
            {section name=path loop=$breadcrumbs}
                {if !$smarty.section.path.first and !$smarty.section.path.last}
                    {$breadcrumbs[path].title}
                    
                    {* bad voodoo to make the separator look good *}
                    {math equation="x+2" x=$smarty.section.path.index assign="tval"}
                    {if $tval < $smarty.section.path.total}
                        -
                    {/if}
                {/if}
                
        	{/section}
        {/if}
    </h2>
    
    <form method="get" name="search" action="{$INA.this}">
        <input type="text" name="search" id="searchBox" style="width: 400px" value="{$smarty.get.search}" />
        <input type="submit" name="submit" value="{#go#}" />
    </form>
            
    {include file="inseratList.html"}
</div>